<nav class="breadcrumb" id="pathContainer">
	<i class="Hui-iconfont Hui-iconfont-weizhi"></i>
	<span>您的位置：</span>
	<span>栏目配置</span>
	<span class="c-999 en">&gt;</span>
	<span class="c-primary">栏目信息</span>
</nav>
<div class="Hui-article mt-10" id="columnNew">
	<div class="eva-h2">
        <i class="Hui-iconfont Hui-iconfont-fenlei"></i>
        <span class="c-primary">栏目信息</span>
        <div class="f-r">
            <button class="btn btn1 radius add_btn"><i class="Hui-iconfont Hui-iconfont-add"></i>新增</button>
            <!-- <button class="btn btn1 radius del_all_btn"><i class="Hui-iconfont Hui-iconfont-del3"></i>删除</button> -->
        </div>
    </div>
    <div class="clearfix">
    	<div class="col-3 pr-20">
	    	<div class="panel panel-primary">
				<div class="panel-header">栏目树</div>
				<div class="panel-body">
					<p class="row">
						<button class="btn btn-link c-black expand_on">全部展开</button> |
						<button class="btn btn-link c-black expand_off">全部收起</button>
					</p>
		    		<ul id="columnTree" class="ztree"></ul>
				</div>
			</div>
    	</div>
    	<div class="col-9">
	    	<div class="panel panel-primary">
				<div class="panel-header">栏目列表</div>
				<div class="panel-body">
		    		<table class="table table-border table-bordered">
						<thead class="text-c row cl  table-bgcolor-gary">
						    <tr>
								<th>栏目排序</th>
								<th>栏目名称</th>
								<th>栏目模块名称</th>
								<th>是否在主导航显示</th>
								<th>状态</th>
								<th width="300">操作</th>
						    </tr>
						</thead>
						<tbody class="text-c row cl" id="tbody"></tbody>
					</table>
				    <div id="layPage" class="text-c mt-20"></div>
				</div>
			</div>
    	</div>
    </div>
</div>

<!-- local templates start -->
<script id="columnList" type="text/x-handlebars-template">
\{{#each resultList}}
	<tr>
		<td>\{{Math @index '+' '1'}}</td>
		<td>\{{name}}</th>
		<td>\{{columnKey}}</th>
		<td>
			\{{#mccmsShowIfEqual isShowInNav '1'}}是\{{else}}否\{{/mccmsShowIfEqual}}
		</th>
		<td>
			\{{#mccmsShowIfEqual state '1'}}启用\{{else}}停用\{{/mccmsShowIfEqual}}
		</th>
		<td data-id="\{{id}}" data-name="\{{name}}">
			<input class="btn btn-secondary  size-S radius edit_btn" type="button" value="编辑">
			<input class="btn btn-danger size-S radius del_btn" type="button" value="删除">
		</td>
	</tr>
\{{/each}}
</script>
<!-- local templates end -->
<script>
    new columnMng();
</script>